{% extends "base.html" %}
{% block title %}资源发布{% endblock %}
{% block content %}
    <div class="col-sm-offset-3 col-sm-6">
        <form action="/create/" class="form-horizontal" method="POST">{% csrf_token %}
            <div class="form-group">
                <label>网站名</label>
                <input type="text" class="form-control" name="webname" placeholder="网站名">
            </div>
            <div class="form-group">
                <label>域名</label>
                <input type="text" class="form-control" name="domainname" placeholder="域名">
            </div>
            <div class="form-group">
                <label>URL</label>
                <input type="text" class="form-control" name="urladdress" placeholder="URL">
            </div>
            <div class="checkbox">
                <label>
                <input type="checkbox"> 是否启用WebVPN
                </label>
            </div>
            <a href="/" class="btn btn-default">取消</a>
            <button type="submit" class="btn btn-default">确定</button>
        </form>
    </div>
{% endblock %}